import React from 'react'
import { Col, Avatar, Image } from 'antd';

export const head = (obj = {}) => {
    return (
        <div>
            <Avatar size={120}
                src={
                    <Image
                        src={require("../images/8557673.jpg")}
                        style={{
                            width: 120,
                            height: 120
                        }}
                    />
                }
            />
            <h4>{obj.name}</h4>
            <div>
                <span>信用等级：</span>
                {obj.age}
            </div>
            <div>
                <span>信用分：</span>
                {obj.money}
            </div>
        </div>

    )
}
